package com.itheima.until;

import io.jsonwebtoken.Claims;

public class CheckResult {

    private Claims claims;
    private boolean success;

    public CheckResult(Claims claims, boolean success) {
        this.claims = claims;
        this.success = success;
    }

    public CheckResult() {
    }

    public Claims getClaims() {
        return claims;
    }

    public void setClaims(Claims claims) {
        this.claims = claims;
    }

    public boolean isSuccess() {
        return success;
    }
    public boolean getSuccess() {
        return success;
    }


    public void setSuccess(boolean success) {
        this.success = success;
    }

    @Override
    public String toString() {
        return "CheckResult{" +
                "claims=" + claims +
                ", success=" + success +
                '}';
    }
}
